<?PHP
include '../../m/constants.php';

$pd=explode("/",$_POST['id']);

$post['songid']=$pd[0];
$post['id']=$pd[1];

$media=new music;
if(!empty($post['id']) && !empty($post['songid']))
{
	
	$media->post=$post;
	$media->add_song_to_playlist();
	//printmessage('adding song');
}
?>